package xin.sunzy.ssms.realm;

import java.util.LinkedHashMap;

/**
 * @Author Ginkgo
 * @Description :
 * @Date 2017/8/19 17:57
 * @since ${VERSION}
 */
public class FilterChainDefinitionMapBuilder {

    public LinkedHashMap<String,String> filterChainDefinitionMapBuilder(){
        LinkedHashMap<String,String> map = new LinkedHashMap<>();
        map.put("/favicon.ico","anon");
        map.put("/login.jsp","anon");
        map.put("/login","anon");
        map.put("/index.jsp","anon");
        map.put("/toLogin","anon");
        map.put("/logout","logout");
        map.put("/valid","anon");
        map.put("/**","authc");
        return  map;
    }
}
